<?php


class StoreModule extends Module
{
	public function __config()
	{
		$this->page->template = "index.tpl";
		$this->site->locale->add("store.ini");
	}
	
	public function __default()
	{
		$this->IndexAction();
	}
	
	public function IndexAction()
	{
		$this->page->setLocVar("title", "_store");
		$this->page->setVar("_body", "IndexAction!");
	}
	
	public function TestAction()
	{
		$this->page->setLocVar("title", "_store");
		$this->page->setVar("_body", "Test action in Store module");
	}
}